package com.cc.dao;

import com.cc.entity.AttendanceRecord;
import com.cc.entity.Page;

import java.sql.SQLException;

public interface AttendanceRecordDao {
        //判断今天是否打卡
        public boolean isClockIn(String employeeId);
        //打卡
        public void clockIn(String employeeId);
        //更新打卡下班卡
        public void updateClockIn(String employeeId);
        //分页获取员工考勤记录
        Page<AttendanceRecord> findAll(Page<AttendanceRecord> page);
        int getTotal();
    }
